package xin.nick.study.dubbo.consumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xin.nick.study.dubbo.OrderService;
import xin.nick.study.dubbo.UserService;

/**
 * @Auther: Nick inickning@outlook.com
 * @Date: 2021/2/19 20:57
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private OrderService orderService;

    public String say() {
        String text = orderService.sayHello("张三");
        System.out.println(text);
        return text;
    }
}
